/**
  ******************************************************************************
  * @file    Bsp/Led.h 
  * @author  zlf
  * @version V1.0.0
  * @date    2016-04-05
  * @brief   Header for Led.c module
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MENUID_H
#define __MENUID_H

/* Exported macro ------------------------------------------------------------*/
#define ID_FRM_BRAND 						( 0 )
#define ID_FRM_INIT 						( ID_FRM_BRAND + 1 )

#define ID_FRM_STOP 						( ID_FRM_INIT + 1 )

#define ID_FRM_PW 							( ID_FRM_STOP + 1 )

#define ID_FRM_SET							( ID_FRM_PW + 1 )

#define ID_FRM_WEIGHT0 						( ID_FRM_SET + 1 )
#define ID_FRM_ZERO							( ID_FRM_WEIGHT0 + 1 )
#define ID_FRM_POS							( ID_FRM_WEIGHT0 + 2 )
#define ID_FRM_SPEEDMODEL				( ID_FRM_WEIGHT0 + 3 )
#define ID_FRM_FLTGEAR 					( ID_FRM_WEIGHT0 + 4 )
#define ID_FRM_LOADRELEASE 			( ID_FRM_WEIGHT0 + 5 )
#define ID_FRM_MAXSPEED					( ID_FRM_WEIGHT0 + 6 )
#define ID_FRM_COUNT_REST 			( ID_FRM_WEIGHT0 + 7 )
#define ID_FRM_GEAR							( ID_FRM_WEIGHT0 + 8 )
#define ID_FRM_HANDLE_FIRST     ( ID_FRM_WEIGHT0 + 9 )
#define ID_FRM_SLEEP						( ID_FRM_WEIGHT0 + 10 )
#define ID_FRM_PW0							( ID_FRM_WEIGHT0 + 11 )
#define ID_FRM_MACHINEMODEL  		( ID_FRM_WEIGHT0 + 12 )

#define ID_FRM_POS_Stop_P					( ID_FRM_MACHINEMODEL + 1 )
#define ID_FRM_POS_Stop_N					( ID_FRM_POS_Stop_P + 1 )



#define ID_FRM_PW_WRONG						( ID_FRM_POS_Stop_N + 1 )
#define ID_FRM_PW0_AG 						( ID_FRM_PW_WRONG + 1 )
#define ID_FRM_PW1_AG 						( ID_FRM_PW_WRONG + 2 )
#define ID_FRM_PW2_AG 						( ID_FRM_PW_WRONG + 3 )
#define ID_FRM_SECRET 						( ID_FRM_PW2_AG + 1 )

#define ID_FRM_PW_RESET 					( ID_FRM_SECRET + 1 )
#define ID_FRM_LOGDISP  				  ( ID_FRM_SECRET + 2 )
#define ID_FRM_CLCIKSPEED					( ID_FRM_SECRET + 3 )
#define ID_FRM_DEADBAND					  ( ID_FRM_SECRET + 4 )
#define ID_FRM_ASSEMBLY					  ( ID_FRM_SECRET + 5 )
#define ID_FRM_WEIGHTPROTECT			( ID_FRM_SECRET + 6 )
#define ID_FRM_TOUCHDOWNWEI 			( ID_FRM_SECRET + 7 )
#define ID_FRM_LIMITSPEED					( ID_FRM_SECRET + 8 )
#define ID_FRM_SWITCHBALANCE 			( ID_FRM_SECRET + 9 )
#define ID_FRM_LANG               ( ID_FRM_SECRET + 10 )
#define ID_FRM_SYSTEMTIMESET 			( ID_FRM_SECRET + 11 )

//super
#define ID_FRM_SUPER  				    ( ID_FRM_SYSTEMTIMESET + 1 )
#define ID_FRM_WEIGHT					    ( ID_FRM_SUPER + 1 )
#define ID_FRM_AUTOTEST 					( ID_FRM_SUPER + 2 )
#define ID_FRM_TESTCNT 						( ID_FRM_SUPER + 3 )
#define ID_FRM_TOTAL_REST 				( ID_FRM_SUPER + 4 )
#define ID_FRM_ANGLE 						  ( ID_FRM_SUPER + 5 )
#define ID_FRM_RADIUS 						( ID_FRM_SUPER + 6 )
#define ID_FRM_RATIO 						  ( ID_FRM_SUPER + 7 )
#define ID_FRM_FACTORY  				  ( ID_FRM_SUPER + 8 )


#define ID_FRM_LOADCALIB 					( ID_FRM_FACTORY + 1 )
#define ID_FRM_WIRELOOSEN 					( ID_FRM_LOADCALIB + 1 )

#define ID_FRM_OVERLOAD 					( ID_FRM_WIRELOOSEN + 1 )
#define ID_FRM_LOADLOST 					( ID_FRM_OVERLOAD + 1 )

#define ID_FRM_PITCH 				        ( ID_FRM_LOADLOST + 1 )
#define ID_FRM_ROLL 						( ID_FRM_PITCH + 1 )

#define ID_FRM_V1_UP 						( ID_FRM_ROLL + 1 )
#define ID_FRM_V1_DN 						( ID_FRM_V1_UP + 1 )
#define ID_FRM_V2_UP 						( ID_FRM_V1_UP + 2 )
#define ID_FRM_V2_DN 						( ID_FRM_V1_UP + 3 )
#define ID_FRM_BALANCE_UP 					( ID_FRM_V1_UP + 4 )
#define ID_FRM_BALANCE_DN 					( ID_FRM_V1_UP + 5 )

#define ID_FRM_SLOW_UP 						( ID_FRM_BALANCE_DN + 1 )
#define ID_FRM_SLOW_DN 						( ID_FRM_SLOW_UP + 1 )
#define ID_FRM_SLOW_ACC_UP 					( ID_FRM_SLOW_UP + 2 )
#define ID_FRM_SLOW_ACC_DN 					( ID_FRM_SLOW_UP + 3 )
#define ID_FRM_FAST_UP 						( ID_FRM_SLOW_UP + 4 )
#define ID_FRM_FAST_DN 						( ID_FRM_SLOW_UP + 5 )
#define ID_FRM_FAST_ACC_UP 					( ID_FRM_SLOW_UP + 6 )
#define ID_FRM_FAST_ACC_DN 					( ID_FRM_SLOW_UP + 7 )
#define ID_FRM_WIFI_CONTROL 				( ID_FRM_SLOW_UP + 8 )

#define ID_FRM_PICKUP 						( ID_FRM_WIFI_CONTROL + 1 )
#define ID_FRM_PICKUP_UP 					( ID_FRM_PICKUP + 1 )
#define ID_FRM_PICKUP_DN 					( ID_FRM_PICKUP + 2 )
#define ID_FRM_PICKUP_SPEED_UP 				( ID_FRM_PICKUP + 3 )
#define ID_FRM_PICKUP_SPEED_DN 				( ID_FRM_PICKUP + 4 )
#define ID_FRM_PICKUP_DEADUP 				( ID_FRM_PICKUP + 5 )
#define ID_FRM_PICKUP_DEADDN 				( ID_FRM_PICKUP + 6 )
#define ID_FRM_PICKUP_BAL_UP 				( ID_FRM_PICKUP + 7 )
#define ID_FRM_PICKUP_BAL_DN 				( ID_FRM_PICKUP + 8 )
#define ID_FRM_PUTDOWN 						( ID_FRM_PICKUP + 9 )
#define ID_FRM_PUTDOWN_UP 					( ID_FRM_PICKUP + 10 )
#define ID_FRM_PUTDOWN_DN 					( ID_FRM_PICKUP + 11 )
#define ID_FRM_PUTDOWN_SPEED_UP 			( ID_FRM_PICKUP + 12 )
#define ID_FRM_PUTDOWN_SPEED_DN 			( ID_FRM_PICKUP + 13 )
#define ID_FRM_PUTDOWN_DEADUP 				( ID_FRM_PICKUP + 14 )
#define ID_FRM_PUTDOWN_DEADDN 				( ID_FRM_PICKUP + 15 )
#define ID_FRM_PUTDOWN_BAL_UP 				( ID_FRM_PICKUP + 16 )
#define ID_FRM_PUTDOWN_BAL_DN 				( ID_FRM_PICKUP + 17 )

#define ID_HANDMODE_UP 						( ID_FRM_PUTDOWN_BAL_DN + 1 )
#define ID_HANDMODE_DN 						( ID_HANDMODE_UP + 1 )
#define ID_BALANCEODE_UP 					( ID_HANDMODE_UP + 2 )
#define ID_BALANCEODE_DN 					( ID_HANDMODE_UP + 3 )


#define ID_FIT_SWITCH 						( ID_BALANCEODE_DN + 1 )
#define ID_FIT_DECEPOINT_UP					( ID_FIT_SWITCH + 1 )
#define ID_FIT_STOPPOINT_UP 				( ID_FIT_SWITCH + 2 )
#define ID_FIT_DECEPOINT_DN 				( ID_FIT_SWITCH + 3 )
#define ID_FIT_STOPPOINT_DN 				( ID_FIT_SWITCH + 4 )



#endif /* __MENUID_H */
 
 

